package com.yyl.rbacs.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @BelongsProject: rbacs
 * @BelongsPackage: com.yyl.rbacs.config
 * @Author: YuanSir
 * @CreateTime: 2022-10-28  13:35
 * @Description:
 * @Version: 1.0
 */


//@Configuration
public class WebMvcConfig implements WebMvcConfigurer {
    
    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
        
        registry.addResourceHandler("/statics/**")
                .addResourceLocations("classpath:/static");
        
    }
    
}
